<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>11-输入姓名年龄案例</title>
</head>
<body>
<script>
  // 1. 姓名
  let uname = prompt('请输入姓名')
  let age = prompt('请输入年龄')
  let gender = prompt('请输入性别')
  document.write(uname, age, gender)
</script>
</body>
</html>